package com.yunti.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunti.springboot.po.Role;
import com.yunti.springboot.vo.Result;
import com.yunti.springboot.vo.req.RoleAddReq;
import com.yunti.springboot.vo.req.RoleReq;
import com.yunti.springboot.po.Role;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户角色关联表 服务类
 * </p>
 *
 * @author kmustleng
 * @since 2022-12-09
 */
public interface IRoleService extends IService<Role> {

    List<Map<String,String>> getRuleList();

    Result getRulePageList(RoleReq req);

    List<Map<String, String>> getOwnRuleList();

    Result addRole(RoleAddReq req);

    Result editRole(RoleReq req);

    Result delRole(RoleReq req);
}
